package com.wz.project.stock.viewStock.domain;

import com.wz.framework.aspectj.lang.annotation.Excel;
import com.wz.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 子库存查询对象 view_stock
 * 
 * @author wz
 * @date 2022-12-01
 */
public class ViewStockPk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子库存编号 */
    @Excel(name = "子库存编号")
    private String stockId;

    /** 货位编号 */
    @Excel(name = "货位编号")
    private String cargoSpaceId;

    /** 货位名称 */
    @Excel(name = "货位名称")
    private String cargoSpaceName;

    /** 库存状态 */
    @Excel(name = "库存状态")
    private String stockStatus;

    /** 物料状态 */
    @Excel(name = "物料状态")
    private String productStatus;

    /** 批号 */
    @Excel(name = "批号")
    private String lotNo;

    /** 母件编号 */
    @Excel(name = "母件编号")
    private String productId;

    /** 母件名称 */
    @Excel(name = "母件名称")
    private String productName;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private String quantity;

    /** 托盘码 */
    @Excel(name = "托盘码")
    private String trayCode;

    /** 子件编号 */
    @Excel(name = "子件编号")
    private String productDetailId;

    /** 子件名称 */
    @Excel(name = "子件名称")
    private String productDetailName;

    /** 入库单号 */
    @Excel(name = "入库单号")
    private String stockinId;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseId;

    /** 库存来源 */
    @Excel(name = "库存来源")
    private String stockSource;

    /** 母件条码 */
    @Excel(name = "母件条码")
    private String barcode;

    /** 子件条码 */
    @Excel(name = "子件条码")
    private String barcodeDetail;

    private String stockoutDetailId;
    private String sapSpace;
    private String cargoSpaceIdBef;

    public String getCargoSpaceIdBef() {
        return cargoSpaceIdBef;
    }

    public void setCargoSpaceIdBef(String cargoSpaceIdBef) {
        this.cargoSpaceIdBef = cargoSpaceIdBef;
    }

    public String getSapSpace() {
        return sapSpace;
    }

    public void setSapSpace(String sapSpace) {
        this.sapSpace = sapSpace;
    }

    public String getStockoutDetailId() {
        return stockoutDetailId;
    }

    public void setStockoutDetailId(String stockoutDetailId) {
        this.stockoutDetailId = stockoutDetailId;
    }

    public void setStockId(String stockId)
    {
        this.stockId = stockId;
    }

    public String getStockId()
    {
        return stockId;
    }
    public void setCargoSpaceId(String cargoSpaceId)
    {
        this.cargoSpaceId = cargoSpaceId;
    }

    public String getCargoSpaceId()
    {
        return cargoSpaceId;
    }
    public void setCargoSpaceName(String cargoSpaceName)
    {
        this.cargoSpaceName = cargoSpaceName;
    }

    public String getCargoSpaceName()
    {
        return cargoSpaceName;
    }
    public void setStockStatus(String stockStatus)
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus()
    {
        return stockStatus;
    }
    public void setProductStatus(String productStatus)
    {
        this.productStatus = productStatus;
    }

    public String getProductStatus()
    {
        return productStatus;
    }
    public void setLotNo(String lotNo)
    {
        this.lotNo = lotNo;
    }

    public String getLotNo()
    {
        return lotNo;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setQuantity(String quantity)
    {
        this.quantity = quantity;
    }

    public String getQuantity()
    {
        return quantity;
    }
    public void setTrayCode(String trayCode)
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode()
    {
        return trayCode;
    }
    public void setProductDetailId(String productDetailId)
    {
        this.productDetailId = productDetailId;
    }

    public String getProductDetailId()
    {
        return productDetailId;
    }
    public void setProductDetailName(String productDetailName)
    {
        this.productDetailName = productDetailName;
    }

    public String getProductDetailName()
    {
        return productDetailName;
    }
    public void setStockinId(String stockinId)
    {
        this.stockinId = stockinId;
    }

    public String getStockinId()
    {
        return stockinId;
    }
    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }
    public void setStockSource(String stockSource)
    {
        this.stockSource = stockSource;
    }

    public String getStockSource()
    {
        return stockSource;
    }
    public void setBarcode(String barcode)
    {
        this.barcode = barcode;
    }

    public String getBarcode()
    {
        return barcode;
    }
    public void setBarcodeDetail(String barcodeDetail)
    {
        this.barcodeDetail = barcodeDetail;
    }

    public String getBarcodeDetail()
    {
        return barcodeDetail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockId", getStockId())
            .append("cargoSpaceId", getCargoSpaceId())
            .append("cargoSpaceName", getCargoSpaceName())
            .append("stockStatus", getStockStatus())
            .append("productStatus", getProductStatus())
            .append("lotNo", getLotNo())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("quantity", getQuantity())
            .append("trayCode", getTrayCode())
            .append("productDetailId", getProductDetailId())
            .append("productDetailName", getProductDetailName())
            .append("stockinId", getStockinId())
            .append("warehouseId", getWarehouseId())
            .append("stockSource", getStockSource())
            .append("barcode", getBarcode())
            .append("barcodeDetail", getBarcodeDetail())
            .toString();
    }
}
